<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head th:replace="layout/head :: common_header(~{::title},~{::link})">
    <meta charset="UTF-8"/>
    <title>首页</title>

    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/themes/smoothness/jquery-ui.css}">
</head>
<body>
<div th:replace="layout/header :: header('姚明')"></div>
<a href="#" th:href="@{/user}">用户管理</a>


<a href="/something" th:remove="none">Link text not to be removed</a>

<div th:fragment="intro(name,age)" th:remove="all">
    <p th:text="'我叫：' + ${name} + ',年龄：' + ${age}"></p>
</div>

<!-- 只有 include 才会显示当前页面模板 -->
<div th:include="this :: intro('姚明',30)"></div>


<div th:insert="layout/footer :: footer"></div>
<div th:replace="layout/footer :: footer"></div>
<div th:include="layout/footer :: #footer"></div>
</body>
</html>